package com.winning.sx.microframework.common.util;

public class Constains {
    /***
     * 成功代码
     */
    public final static String SUCCESS_CODE = "0000";
    public final static String SUCCESS_MSG = "成功";

    public final static String ERROR_CODE = "9999";

    /*** 用户角色 ***/
    public final static String role1 = "1";//超管
    public final static String role2 = "2";//资产管理
    public final static String role3 = "3";//仓库管理
    public final static String role4 = "4";// 维修工
    public final static String role5 = "5";//使用人

    /***
     * 系统：有效性
     */
    public final static String SYS_VALIDFLAG_TRUE = "100001";//有效
    public final static String SYS_VALIDFLAG_FALSE = "100002";//无效

    /***
     * 状态
     */
    public final static String STATE_TRUE = "200001";//启用
    public final static String STATE_FALSE = "200002";//停用
    /**
     * 型号状态
     */
    public static final String EQMODEL_STATE_1 = "120001";//正常
    public static final String EQMODEL_STATE_2 = "120002";//未确认
    /***
     * 维修转发状态
     */
    public final static String RepairSubmit_NEW = "209001";//未读
    public final static String RepairSubmit_OK = "209002";//接受
    public final static String RepairSubmit_CANCEL = "209003";//驳回

    /***
     * 通用状态
     */
    public final static String STATE_NORMAL = "199001";//启用
    public final static String STATE_PAUSE = "199002";//停用

    /***
     * 接口模式
     */
    public final static String INTER_MODEL_PRO = "501001";//生产
    public final static String INTER_MODEL_TEST = "501002";//测试
    public final static String INTER_MODEL_INTEGRATE = "501003";//集成，模拟返回
    /**
     * 资产类型 的类型
     */
    public final static String EQCLASS_TYPE1 = "301001";//资产
    public final static String EQCLASS_TYPE2 = "301002";//耗材
    public final static String EQCLASS_TYPE3 = "301003";//配件
    public final static String EQCLASS_TYPE4 = "301009";//其他

    /**
     * 机构类型
     */
    public static final String ORGANIZATION_CUST = "400001";//客户
    public static final String ORGANIZATION_INNER = "400002";//内部
    /**
     * 是否允许仓库
     */
    public static final String WAREHOUSEFLAG_YES = "401001";//允许
    public static final String WAREHOUSEFLAG_NO = "401002";//不允许
    /**
     * 激活状态
     */

    public static final String ACTIVE_TRUE = "500001";//已激活
    public static final String ACTIVE_FALSE = "500002";//未激活


    /**
     * 回访方式
     */
    public static final String TEL_WAY = "600001";//电话回访
    public static final String WECHAT_WAY = "600002";//微信回访

    /**
     * 工单补充方式
     */
    public static final String WECHAT_CUST = "700001";//微信客服
    public static final String TEL_CUST = "700002";//电话客服

    /*
     维修结果
    */
    public final static String REPAIR_TRUE = "800001";//成功
    public final static String REPAIR_FALSE = "800002";//失败
    /*
    维修方式
   */
    public final static String REPAIR_WAY_DISTRIBUTE = "900001";//派发耗材
    public final static String REPAIR_WAY_REPLACE = "900002";//更换派件
    public final static String REPAIR_WAY_RETURNFACTORY = "900003";//返厂维修
    public final static String REPAIR_WAYFALSE_SCENE = "900004";//现场维修
    public final static String REPAIR_WAYFALSE_NO = "900100";//管理员本地维修
    /*
    失败原因
   */
    public final static String REPAIR_FAIL_1 = "901001";//无配件或配件停产
    public final static String REPAIR_FAIL_2 = "901002";//资产损坏严重
    public final static String REPAIR_FAIL_3 = "901003";//重新派单维修
    public final static String REPAIR_FAIL_4 = "901004";//其他原因
    /**
     * 消息中心状态
     */
    public static final String MESSAGE_NEW = "202001";//新消息
    public static final String MESSAGE_SUCCESS = "202002";//发送成功
    public static final String MESSAGE_FALSE = "202003";//发送失败
    public static final String MESSAGE_READ = "202004";//已阅读

    /**
     * 消息中心类型
     */
    public static final String MESSAGE_SMS = "212001";//短信
    public static final String MESSAGE_WX = "212002";//微信
    public static final String MESSAGE_MSG = "212003";//站内信

    /**
     * 问题类型
     */
    public static final String QUESTION_HARDWARE = "110001";//硬件问题
    public static final String QUESTION_SOFEWARE = "110002";//软件问题
    public static final String QUESTION_CONSUMABLES = "110003";//耗材问题
    /**
     * 资产状态
     */
    public static final String Equipment_state_normal = "203001";//正常
    public static final String Equipment_state_Repair = "203002";//维修中
    public static final String Equipment_state_edit = "203003";//编辑中

    /**
     * 资料类型
     */
    public static final String DATA_QUESTION_SUPPLEMENT = "111001";//问题补充说明
    public static final String DATA_WORK_SUPPLEMENT = "111002";//工单补充
    /**
     * 提交类型
     */
    public static final String SUBMIT_MAINTENANCE_CENTER = "112001";//维护中心
    public static final String SUBMIT_ORGANIZATION_PERSON = "112002";//机构管理人员
    public static final String SUBMIT_WORK_DISTRIBUTE = "112003";//工单派发
    /**
     * 评价等级
     */
    public static final String EVALUATE_EXCELENT = "113001";//优
    public static final String EVALUATE_GOOD = "113002";//良
    public static final String EVALUATE_NOT_GOOD = "113003";//差
    /**
     * 密保等级
     */
    public static final String SECRET_ONE = "116001";//密保一级
    public static final String SECRET_TWO = "116002";//密保二级
    public static final String SECRET_THREE = "116003";//密保三级
    /**
     * 消息中心模板
     */
    public static final String MESSAGE_TEMPLATE_1 = "210001";//新申请通知受理人
    public static final String MESSAGE_TEMPLATE_2 = "210002";//接单状态通知申请人
    public static final String MESSAGE_TEMPLATE_3 = "210003";//派单通知维修工
    public static final String MESSAGE_TEMPLATE_4 = "210004";//维修结果
    public static final String MESSAGE_TEMPLATE_5 = "210005";//接单结果
    /**
     * 资产当前状态
     */
    public static final String STATE_FRONT_ADD = "201101";//前台新增
    public static final String STATE_BACKGROUD_ADD = "201102";//后台新增
    public static final String STATE_SUBMIT_MESSAGE = "201201";//提交资产管理员
    public static final String STATE_BACKGROUD_SUBMIT_MESSAGE = "201202";//后台提交资产管理员
    public static final String STATE_BACKGROUD_SUBMIT_CENTERMESSAGE = "201203";//后台提交中心管理员
    public static final String STATE_SUBMIT_CENTERMESSAGE = "201301";//提交中心管理员
    public static final String STATE_MESSAGE_TO_CENTERMESSAGE = "201302";//资产管理员提交中心管理员
    public static final String STATE_MESSAGE_REJECT = "201303";//资产管理员驳回
    public static final String STATE_CENTERMESSAGE_REJECT = "201401";//中心管理员驳回
    public static final String STATE_CENTERMESSAGE_DISTRIBUTE = "201402";//中心管理员派发订单
    public static final String STATE_REPAIR_YES = "201501";//维修工接受工单
    public static final String STATE_REPAIR_NO = "201502";//维修工提交中心管理员（其实就是驳回）
    public static final String STATE_REPAIR_FINISH = "201601";//维修工维修完成
    public static final String STATE_INNER_FINISH = "201602";//资产管理员下达内部维修
    public static final String STATE_INNER_FINISH1 = "201621";//报废库
    public static final String STATE_INNER_FINISH2 = "201622";//配件库
    public static final String STATE_INNER_FINISH3 = "201629";//其他
    public static final String STATE_VISIT_FINISH = "201701";//回访完成
    public static final String STATE_VISIT_OVERTIME = "201702";//回访超时
    public static final String STATE_END_WORK = "201801";//结束工单

    /**
     * 开关按钮
     */
    public static final String SWITCH_OPEN = "205001";//开
    public static final String SWITCH_CLOSE = "205002";//关


    /***
     * 接口参数可空否
     */
    public final static String INTER_ALLOW_NULL = "122001";//启用
    public final static String INTER_NOT_ALLOW_NULL = "122002";//停用

    /***
     * 权限
     */
    public final static String CHUZHENG_LIMIT = "001010";//未认证
    public final static String FUZHENG_LIMIT = "111111";//已认证

    /*
    文章状态
     */
    public final static String ARTICAL_STATE_NEW = "800001";
    public final static String ARTICAL_STATE_SUBMIT = "800002";
    public final static String ARTICAL_STATE_RELESE = "800003";
    public final static String ARTICAL_STATE_DELETE = "800004";
    /*
    客户来源
     */
    public final static String CUSTOMER_SOURCE_OLD = "107001";
    public final static String CUSTOMER_SOURCE_WX = "107002";
    /*
    首页是否显示
    */
    public final static String INDEX_TRUE = "204001";
    public final static String INDEX_FALSE = "204002";

    /*
   产品发布状态
   */
    public final static String PRODUCT_SHOW_TRUE = "202001";
    public final static String PRODUCT_SHOW_FALSE = "202002";

    /*
    库存变动类型
    */
    public final static String WAREHOUSE_CHANGE_TYPE_11 = "333001";//采购入库
    public final static String WAREHOUSE_CHANGE_TYPE_12 = "333002";//调拨入库
    public final static String WAREHOUSE_CHANGE_TYPE_13 = "333003";//回收入库
    public final static String WAREHOUSE_CHANGE_TYPE_14 = "333004";//其他入库
    public final static String WAREHOUSE_CHANGE_TYPE_21 = "333101";//领用出库
    public final static String WAREHOUSE_CHANGE_TYPE_22 = "333102";//调拨出库
    public final static String WAREHOUSE_CHANGE_TYPE_23 = "333103";//销毁出库
    public final static String WAREHOUSE_CHANGE_TYPE_24 = "333104";//其他出库

    public final static String WAREHOUSE_CHANGE_TYPE_20 = "333100";//初始化出库
    public final static String WAREHOUSE_CHANGE_TYPE_10 = "333000";//初始化入库

    /*
     库存变动状态
     */
    public final static String WAREHOUSE_CHANGE_STATE_1 = "334001";//未生效
    public final static String WAREHOUSE_CHANGE_STATE_2 = "334002";//已生效

    /*
   资产使用对象
    */
    public final static String EQUIPMENT_USE_TYPE_ORG = "108001";
    public final static String EQUIPMENT_USE_TYPE_STAFF = "108002";

    /*
    资产领取申请状态
   */
    public final static String EQUIPMENT_USE_STATE_NEW = "109001";
    public final static String EQUIPMENT_USE_STATE_CHECK_1 = "109002";
    public final static String EQUIPMENT_USE_STATE_CHECK_2 = "109003";

    /*
     人员变化类型
    */
    public final static String USER_CHANGE_TYPE1 = "121001";
    /*
     资产变化类型
    */
    public final static String EQUIPMENT_CHANGE_TYPE1 = "123001";
    /*
     资产变化来源
    */
    public final static String EQUIPMENT_CHANGE_SOURCE1 = "124001";//人工录入原始领用数据（初始化）
    public final static String EQUIPMENT_CHANGE_SOURCE2 = "124002";//人员变动引起的交接
    public final static String EQUIPMENT_CHANGE_SOURCE3 = "124003";//人工录入手动单
    public final static String EQUIPMENT_CHANGE_SOURCE4 = "124004";//人工录入批量单
}
